/**============================================================================
 Confidential Information - Limited distribution to authorized persons only.
 This software is protected as an unpublished work under the U.S. Copyright
 Act of 1976.

 Copyright (c) 2011, BluePhoenix Solutions, Inc. All rights reserved.
 ----------------------------------------------------------------------------
 file......: NiotepadMainwindow.java
 Author....: Vyacheslav Kovalyov
 Created...: 22.10.11

 Description:

 ============================================================================*/
package ru.monyag.pred.swing.ui.notepad;

import ru.monyag.pred.swing.ui.windows.BaseDialog;

import java.awt.*;

import static java.awt.BorderLayout.CENTER;
import static java.awt.BorderLayout.SOUTH;
import static ru.monyag.pred.core.utils.PredCoreUtils.getString;
import static ru.monyag.pred.swing.util.PredSwingConstants.DESKTOP_HEIGHT;
import static ru.monyag.pred.swing.util.PredSwingConstants.DESKTOP_WIDTH;

/**
 * @author Vyacheslav Kovalyov
 * @version 1.0
 */
public class NotepadMainWindow extends BaseDialog {

    public NotepadMainWindow() {
        super(getString("notepad.title"), DESKTOP_WIDTH, DESKTOP_HEIGHT);

        add(CENTER, new NotepadTablePane());
        add(SOUTH, new NotepadButtonsPanel());
    }
}
